package com.jieshuibao.common.req;

public class BaseReq {

	
	private int sinceId;
	private int maxId;
	public int getSinceId() {
		if (sinceId <= 0) {
			sinceId = 1;
		}
		return sinceId;
	}
	public void setSinceId(int sinceId) {
		this.sinceId = sinceId;
	}
	public int getMaxId() {
		if (maxId <= 0 || maxId < sinceId) {
			maxId = sinceId;
		}
		return maxId;
	}
	public void setMaxId(int maxId) {
		this.maxId = maxId;
	}
	
	
	
}
